﻿using AutoMapper;
using Windows.Assistance.Domain;
using Windows.Infrastructure.Share.Extensions;
using Windows.SeedWord;

namespace Windows.Assistance.Application
{
    public class DtoToDomainMappingProfile : Profile
    {
        /// <summary>
        /// 配置构造函数，用来创建关系映射
        /// </summary>
        public DtoToDomainMappingProfile()
        {
            CreateMap<DictionaryCategorySaveRequest, DictionaryCategory>();
            CreateMap<DictionarySaveRequest, Dictionary>();
            //CreateMap<OperateModifyRequest, Operate>();
        }
    }
}
